package com.collectplus.express.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by joker on 2018/3/8.
 * 收到的包裹   已到驿站的对象
 */
public class ParcelReceiveReachedStationBean implements Serializable {
    /**
     * address : 北京市东城区安定门东大街雍和大厦
     * admin : 菠萝
     * code : 01010010
     * distance : 100米
     * distanceInt : 0
     * favor : false
     * gdLongitude :
     * gdlatitude :
     * headImage : http://files.shouhuobao.com/test/35686268573028703_1519887508722
     * id : 100943
     * isFavor : 0
     * latitude : 39.95386707388847
     * longitude : 116.42792599999994
     * name : 菠萝和平街
     * parcels : [{"checkCode":"979123","createTime":"03-06 14:36","expressCompanyName":"中通快递","expressCompanyUrl":"https://files.shouhuobao.com/image/select_zt_icon.png","expressNumber":"","id":25,"isBig":false,"receiverName":"","receiverPhone":"15903477034","remark":"","status":1,"storageCode":"70306002","storageRack":7,"takeTime":null},{"checkCode":"147370","createTime":"03-06 14:40","expressCompanyName":"顺丰速运","expressCompanyUrl":"https://files.shouhuobao.com/image/select_sf_icon.png","expressNumber":"123484684848","id":26,"isBig":false,"receiverName":"小羊","receiverPhone":"15903477034","remark":"","status":1,"storageCode":"80306003","storageRack":8,"takeTime":null}]
     * payType : 1
     * phone : 13522295324
     * serviceTime :
     * status : 5
     * type : 1
     * used : false
     */

    private String address;
    private String admin;
    private String code;
    private String distance;
    private int distanceInt;
    private boolean favor;
    private double gdLongitude;
    private double gdlatitude;
    private String headImage;
    private String id;
    private boolean isFavor;
    private double latitude;
    private double longitude;
    private String name;
    private int payType;
    private String phone;
    private String serviceTime;
    private int status;
    private int type;
    private boolean used;
    private List<ParcelsBean> parcels;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public int getDistanceInt() {
        return distanceInt;
    }

    public void setDistanceInt(int distanceInt) {
        this.distanceInt = distanceInt;
    }

    public boolean isFavor() {
        return favor;
    }

    public void setFavor(boolean favor) {
        this.favor = favor;
    }

    public double getGdLongitude() {
        return gdLongitude;
    }

    public void setGdLongitude(double gdLongitude) {
        this.gdLongitude = gdLongitude;
    }

    public double getGdlatitude() {
        return gdlatitude;
    }

    public void setGdlatitude(double gdlatitude) {
        this.gdlatitude = gdlatitude;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean getIsFavor() {
        return isFavor;
    }

    public void setIsFavor(boolean isFavor) {
        this.isFavor = isFavor;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(String serviceTime) {
        this.serviceTime = serviceTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isUsed() {
        return used;
    }

    public void setUsed(boolean used) {
        this.used = used;
    }

    public List<ParcelsBean> getParcels() {
        return parcels == null ? new ArrayList<ParcelsBean>() : parcels;
    }

    public void setParcels(List<ParcelsBean> parcels) {
        this.parcels = parcels;
    }

    public static class ParcelsBean {
        /**
         * checkCode : 979123
         * createTime : 03-06 14:36
         * expressCompanyName : 中通快递
         * expressCompanyUrl : https://files.shouhuobao.com/image/select_zt_icon.png
         * expressNumber :
         * id : 25
         * isBig : false
         * receiverName :
         * receiverPhone : 15903477034
         * remark :
         * status : 1
         * storageCode : 70306002
         * storageRack : 7
         * takeTime : null
         */

        private String checkCode;
        private String createTime;
        private String expressCompanyName;
        private String expressCompanyUrl;
        private String expressNumber;
        private int id;
        private boolean isBig;
        private String receiverName;
        private String receiverPhone;
        private String remark;
        private int status;
        private String storageCode;
        private String storageRack;
        private String takeTime;
        private String takeId;

        public String getCheckCode() {
            return checkCode;
        }

        public void setCheckCode(String checkCode) {
            this.checkCode = checkCode;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getExpressCompanyName() {
            return expressCompanyName;
        }

        public void setExpressCompanyName(String expressCompanyName) {
            this.expressCompanyName = expressCompanyName;
        }

        public String getExpressCompanyUrl() {
            return expressCompanyUrl;
        }

        public void setExpressCompanyUrl(String expressCompanyUrl) {
            this.expressCompanyUrl = expressCompanyUrl;
        }

        public String getExpressNumber() {
            return expressNumber;
        }

        public void setExpressNumber(String expressNumber) {
            this.expressNumber = expressNumber;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public boolean isBig() {
            return isBig;
        }

        public void setIsBig(boolean isBig) {
            this.isBig = isBig;
        }

        public String getReceiverName() {
            return receiverName;
        }

        public void setReceiverName(String receiverName) {
            this.receiverName = receiverName;
        }

        public String getReceiverPhone() {
            return receiverPhone;
        }

        public void setReceiverPhone(String receiverPhone) {
            this.receiverPhone = receiverPhone;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getStorageCode() {
            return storageCode;
        }

        public void setStorageCode(String storageCode) {
            this.storageCode = storageCode;
        }

        public String getStorageRack() {
            return storageRack;
        }

        public void setStorageRack(String storageRack) {
            this.storageRack = storageRack;
        }

        public String getTakeTime() {
            return takeTime;
        }

        public void setTakeTime(String takeTime) {
            this.takeTime = takeTime;
        }

        public String getTakeId() {
            return takeId;
        }

        public void setTakeId(String takeId) {
            this.takeId = takeId;
        }
    }
}
